package com.changanw.tienchin.business.service;

import com.changanw.tienchin.business.domain.Business;
import com.baomidou.mybatisplus.extension.service.IService;
import com.changanw.tienchin.business.domain.vo.BusinessFollow;
import com.changanw.tienchin.business.domain.vo.BusinessSummary;
import com.changanw.tienchin.business.domain.vo.BusinessSummaryEnhance;
import com.changanw.tienchin.business.domain.vo.BusinessVO;
import com.changanw.tienchin.common.core.domain.AjaxResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author changanw
 * @since 2023-12-06
 */
public interface IBusinessService extends IService<Business> {

  List<BusinessSummary> selectBusinessList(BusinessVO businessVO);

  AjaxResult addBusiness(Business business);

  AjaxResult getBusinessById(Integer businessId);

  AjaxResult follow(BusinessFollow businessFollow);

  AjaxResult getBusinessSummaryByBusinessId(Integer businessId);

  AjaxResult updateClue(BusinessSummaryEnhance businessSummaryEnhance);

  AjaxResult deleteBusinessByIds(Integer[] businessIds);

  AjaxResult businessAnalysis(BusinessVO businessVO);
}
